<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="http://displaytag.sf.net" prefix="display" %>
<%@page isELIgnored="false"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<script type="text/javascript" src="javascript/funcoes.js"></script>
    <script type="text/javascript" src="javascript/calendar.js"></script>
    <script type="text/javascript" src="javascript/calendar-setup.js"></script>
    <script type="text/javascript" src="javascript/calendar-pt.js"></script>
    <link rel="stylesheet" type="text/css" href="estilos/skins/aqua/theme.css" />
    <link href="estilos/css.css" rel="stylesheet" type="text/css" />
    <link rel="ruicadete icon" href="images/logo.ico"/>
<title>Proadi - Detalhes</title>
</head>
<body>

<c:set var="cliente" value="${sessionScope.Cliente}"/>

<c:if test="${sessionScope.Cliente == null}">
	<c:set var="mensagem" value="Por favor escolher um cliente!" scope="request"/>
	<jsp:forward page="mensagens.jsp"/>
</c:if>

		<div id="header" align="center">
		
			<img src="images/logo.gif" alt="" width="90" height="90"/>
			<img src="images/texto2.gif" alt=""/>
			
		</div>

<h3>Detalhes do Proadi - ${cliente.nome}</h3>

<hr/>

<div id="voltar"><a href="index.jsp?local=eplanilhas&acao=proadi_principal">Voltar</a></div>

<br>

<div id="divResultados" class="saldo">

	<display:table name="${requestScope.Proadi_Mensal}" pagesize="12" requestURI="controlePROADI?opcao=DETALHES_PROADI" id="tabelaResultados" decorator="totals">
		<display:column property="data_string" sortable="true" title="Data"/>
		<display:column property="vr_icms" format="{0,number,0.00}" sortable="true" title="Vr. ICMS (R$)" total="true"/>
		<display:column property="vr_finan_proadi" format="{0,number,0.00}" sortable="true" title="Vr. Financ. Proadi" total="true"/>
		<display:column property="pz" sortable="true" format="{0,number,0.00}" title="PZ 1%" total="true"/>
		<display:column property="pref" sortable="true" format="{0,number,0.00}" title="25% PREF" total="true"/>
		<display:column property="estado" sortable="true" title="10% EST" format="{0,number,0.00}" total="true"/>
		<display:column property="cpmf" sortable="true" title="CPMF" format="{0,number,0.00}" total="true"/>
		<display:column property="iof" sortable="true" title="IOF" format="{0,number,0.00}" total="true"/>
		<display:column property="total_pagar" sortable="true" format="{0,number,0.00}" title="Total a Pagar" total="true"/>
	</display:table>
	
</div>

</body>
</html>